package protect.a;

/**
 * Created by E440 on 2017/4/3.
 */
public class SubClassSamePack extends  Own{

    public void print(){
        System.out.println("subClassSamePack print begin");
        printSelf();
        System.out.println("subClassSamePack print end");
    }

    public static  void main(String[] args){
        SubClassSamePack subClassSamePack=new SubClassSamePack();
        subClassSamePack.print();
        System.out.println("**************************");
        Own own=new Own();
        own.printSelf();
    }
}
